Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


PreviousPrevious NextNext

RE: ODBC from a button in a form
~Olga Dwotumiader 19.Jan.04 10:52 AM a Web browser
Domino Designer All Releases All Platforms


you should search this forum for "ODBC"....

But anyway: Here is some sample code (untested!)

Uselsx "*LSXODBC"

Dim conn As ODBCConnection
Dim query As ODBCQuery
Dim result As ODBCResultSet

Set conn = New ODBCConnection
Set query = New ODBCQuery
Set result = New ODBCResultSet

If(conn.ConnectTo("MyDSN")) Then
Set query.Connection = conn
Set result.Query = query
End If

query.SQL = "SELECT * FROM MyTable WHERE [MyKey] = '12345'"
Call result.Execute
If (result.IsResultSetAvailable) Then
End If



ODBC from a button in a form (~Keiko Cisjipys... 15.Jan.04)
. . RE: ODBC from a button in a form (~Olga Dwotumiad... 19.Jan.04)

Document Options

  Document options
Print this pagePrint this page

Search this forum

Forum views and search

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Advanced search

Member Tools

RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS